package com.zhipu.balance.remotedata;


import com.zhipu.balance.remotedata.systemapi.SystemApiService;
import com.zhipu.balance.remotedata.systemapi.SystemApiServiceModule;
import com.zhipu.balance.ui.activate.ActivateActivity;
import com.zhipu.balance.ui.home.GeneralBalanceActivity;
import com.zhipu.balance.ui.home.HomeActivity;
import com.zhipu.balance.ui.home.calculate.corn.CornActivity;
import com.zhipu.balance.ui.home.calculate.corn.CornFaultinessFragment;
import com.zhipu.balance.ui.home.calculate.corn.CornImpurityFragment;
import com.zhipu.balance.ui.home.calculate.corn.CornRongZhongFragmnet;
import com.zhipu.balance.ui.home.calculate.dami.DaMiActivity;
import com.zhipu.balance.ui.home.calculate.dami.DaMiBrokenFragment;
import com.zhipu.balance.ui.home.calculate.dami.DaMiFaultinessFragment;
import com.zhipu.balance.ui.home.calculate.dami.DaMiIintermixingFragment;
import com.zhipu.balance.ui.home.calculate.dami.DaMiImpurityFragment;
import com.zhipu.balance.ui.home.calculate.dami.DaMiYellowGrainFragment;
import com.zhipu.balance.ui.home.calculate.rapeseed.RapeseedActivity;
import com.zhipu.balance.ui.home.calculate.rapeseed.RapeseedDamageFragment;
import com.zhipu.balance.ui.home.calculate.rapeseed.RapeseedImmatureGrainFragment;
import com.zhipu.balance.ui.home.calculate.rapeseed.RapeseedImpurityFragment;
import com.zhipu.balance.ui.home.calculate.rapeseed.RapeseedMildewFragment;
import com.zhipu.balance.ui.home.calculate.rapeseed.RapeseedSporeFragment;
import com.zhipu.balance.ui.home.calculate.rice.RiceActivity;
import com.zhipu.balance.ui.home.calculate.rice.RiceBrownFragment;
import com.zhipu.balance.ui.home.calculate.rice.RiceFinishingFragment;
import com.zhipu.balance.ui.home.calculate.rice.RiceImpurityFragment;
import com.zhipu.balance.ui.home.calculate.rice.RiceIntermixingFragment;
import com.zhipu.balance.ui.home.calculate.rice.RiceRougheningFragment;
import com.zhipu.balance.ui.home.calculate.rice.RiceYellowGrainFragment;
import com.zhipu.balance.ui.home.calculate.rice.RiceYieldFragment;
import com.zhipu.balance.ui.home.calculate.soybean.SoybeanActivity;
import com.zhipu.balance.ui.home.calculate.soybean.SoybeanCompleteFragment;
import com.zhipu.balance.ui.home.calculate.soybean.SoybeanDamageFragment;
import com.zhipu.balance.ui.home.calculate.soybean.SoybeanHotDamageFragment;
import com.zhipu.balance.ui.home.calculate.soybean.SoybeanImpurityFragment;
import com.zhipu.balance.ui.home.calculate.wheat.WheatActivity;
import com.zhipu.balance.ui.home.calculate.wheat.WheatImpurityFragment;
import com.zhipu.balance.ui.home.calculate.wheat.WheatRongZhongFragmnet;
import com.zhipu.balance.ui.home.calculate.wheat.WheeatFaultinessFragment;
import com.zhipu.balance.ui.home.calculate.wheat.WheeatGlutenFragment;
import com.zhipu.balance.ui.home.record.RecordActivity;
import com.zhipu.balance.ui.home.revise.ReviseActivity;
import com.zhipu.balance.ui.home.system.SystemSettingActivity;
import com.zhipu.balance.ui.home.system.device.DeviceActivity;
import com.zhipu.balance.ui.home.system.number.NumberManagementActivity;
import com.zhipu.balance.ui.home.system.personnel.PersonnelActivity;

import javax.inject.Singleton;

import dagger.Component;

@Singleton
@Component(modules = {SystemApiServiceModule.class, SpModule.class})
public interface AppComponent {
    SystemApiService getSystemService();
    //激活
    void doInjectionMain(ActivateActivity activity);
    //首页
    void doInjectionMain(HomeActivity activity);
    //普通天平
    void doInjectionMain(GeneralBalanceActivity activity);
    //天平校正
    void doInjectionMain(ReviseActivity activity);

    //稻谷
    void doInjectionMain(RiceActivity activity);
    //稻谷杂质
    void doInjectionMain(RiceImpurityFragment fragment);
    //稻谷出糙率
    void doInjectionMain(RiceRougheningFragment fragment);
    //稻谷整精米
    void doInjectionMain(RiceFinishingFragment fragment);
    //稻谷谷外糙米
    void doInjectionMain(RiceBrownFragment fragment);
    //稻谷黄粒米
    void doInjectionMain(RiceYellowGrainFragment fragment);
    //稻谷互混
    void doInjectionMain(RiceIntermixingFragment fragment);
    //稻谷出米率
    void doInjectionMain(RiceYieldFragment fragment);



    //小麦
    void doInjectionMain(WheatActivity activity);
    //小麦杂质
    void doInjectionMain(WheatImpurityFragment fragment);
    //小麦不完善粒
    void doInjectionMain(WheeatFaultinessFragment fragment);
    //小麦赤霉病粒
    void doInjectionMain(WheeatGlutenFragment fragment);
    //容重
    void doInjectionMain(WheatRongZhongFragmnet fragment);





    //玉米
    void doInjectionMain(CornActivity activity);
    //玉米杂质
    void doInjectionMain(CornImpurityFragment fragment);
    //玉米不完善粒
    void doInjectionMain(CornFaultinessFragment fragment);
    //玉米容重
    void doInjectionMain(CornRongZhongFragmnet fragment);



    //大米
    void doInjectionMain(DaMiActivity activity);
    //大米杂质
    void doInjectionMain(DaMiImpurityFragment fragment);
    //大米不完善粒
    void doInjectionMain(DaMiFaultinessFragment fragment);
    //大米碎米
    void doInjectionMain(DaMiBrokenFragment fragment);
    //大米黄粒米
    void doInjectionMain(DaMiYellowGrainFragment fragment);
    //大米互混
    void doInjectionMain(DaMiIintermixingFragment fragment);



    //大豆
    void doInjectionMain(SoybeanActivity activity);
    //大豆杂质
    void doInjectionMain(SoybeanImpurityFragment fragment);
    //大豆损伤
    void doInjectionMain(SoybeanDamageFragment fragment);
    //大豆热损伤
    void doInjectionMain(SoybeanHotDamageFragment fragment);
    //大豆完整
    void doInjectionMain(SoybeanCompleteFragment fragment);



    //油菜籽
    void doInjectionMain(RapeseedActivity activity);
    //油菜籽杂质
    void doInjectionMain(RapeseedImpurityFragment fragment);
    //油菜籽生芽粒
    void doInjectionMain(RapeseedSporeFragment fragment);
    //油菜籽生霉粒
    void doInjectionMain(RapeseedMildewFragment fragment);
    //油菜籽热损伤粒
    void doInjectionMain(RapeseedDamageFragment fragment);

    //油菜籽未熟粒
    void doInjectionMain(RapeseedImmatureGrainFragment fragment);

    //使用记录
    void doInjectionMain(RecordActivity activity);
    //系统设置
    void doInjectionMain(SystemSettingActivity activity);
    //人员管理
    void doInjectionMain(PersonnelActivity activity);
    //设备信息
    void doInjectionMain(DeviceActivity activity);
    //编号管理
    void doInjectionMain(NumberManagementActivity activity);
}

